package com.smcdd.cdb.dbo.cdb_dbo.network.error_exception;

/**
 * 作者：Administrator on 2017/9/8 10:18
 * 邮箱：zhanghuaiha@gmail.com
 */

public class ApiException extends RuntimeException{

    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    private String message;

    public ApiException(int code,String msg){
        this.code = code;
        this.message = msg;
    }
}
